import layout from '@/layout'
export default {
  path: '/content',
  component: layout,
  name: 'ydd_content',
  meta: { title: '内容管理', icon: 'dashboard' },
  children: [
    { path: '/content_cate',
      component: () => import('@/views/content/cate'),
      name: 'ydd_cate',
      meta: { title: '分类管理', icon: 'dashboard' }
    },
    { path: '/content_tag',
      component: () => import('@/views/content/tag'),
      name: 'ydd_tag',
      meta: { title: '标签管理', icon: 'dashboard' }
    },
    { path: '/content_article',
      component: () => import('@/views/content/article'),
      name: 'ydd_article',
      meta: { title: '文章管理', icon: 'dashboard' }
    },
    { path: '/content_article/add',
      component: () => import('@/views/content/article/info'),
      name: 'content_article_add',
      meta: { title: '添加文章', icon: 'dashboard' },
      hidden: true
    },
    { path: '/content_article/edit/:id',
      component: () => import('@/views/content/article/info'),
      name: 'content_article_edit',
      meta: { title: '修改文章', icon: 'dashboard' },
      hidden: true
    }

  ]

}
